<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:t="http://myfaces.apache.org/tomahawk"
      xmlns:f="http://java.sun.com/jsf/core">
    <h:head>
        <title>Facelet Title</title>
    </h:head>
    <h:body>
        <ui:composition>
            <div class="menu_main">
                <h:form>
                    <t:panelNavigation layout="list" activeItemClass="menu_active_item" 
                                       itemClass="menu_item" 
                                       openItemClass="menu_item_open" 
                                       separatorClass="menu_separator" 
                                       >
                        <t:commandNavigation value="#{msg.Projects}">
                            <t:commandNavigation action="#{user.setAction('create new proj')}" value="#{msg.CreateNewProject}" />
                            <t:commandNavigation action="#{user.setAction('load from xml')}" value="#{msg.LoadProjAsXML}" />
                        </t:commandNavigation>
                        <t:commandNavigation value="#{msg.profiles}">
                            <t:commandNavigation value="#{msg.editProfiles}" />
                        </t:commandNavigation>
                            <t:commandNavigation value="#{msg.simulate}" />
                        <t:outputText/>
                        <t:commandNavigation action="#{user.setAction('edit profile')}" value="User account" />
                        <t:commandNavigation action="#{user.logout()}" value="log out" />
                        <t:outputText/>
                        <t:commandNavigation value="language">
                            //TODO
                            <t:commandNavigation styleClass="MenuItemEng" value="eng" />
                            <t:commandNavigation styleClass="MenuItemNor" value="nor"/>
                        </t:commandNavigation>
                       
                    </t:panelNavigation>
                </h:form>
            </div>
        </ui:composition>
    </h:body>
</html>

